package com.patient.domin;

import java.util.Date;
import java.util.List;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.godGuang.common.core.annotation.Excel;
import com.godGuang.common.core.web.domain.BaseEntity;

/**
 * 档案对象 archives
 *
 * @author
 * @date 2024-01-08
 */
@Data
@NoArgsConstructor
@TableName("archives")
public class Archives
{
    private static final long serialVersionUID = 1L;

    /** 档案id */
    @TableId(type = IdType.AUTO)
    private Long archivesId;

    /** 主要症状 */
    @Excel(name = "主要症状")
    private String mainSymptom;

    /** 现病史 */
    @Excel(name = "现病史")
    private String nowIllness;

    /** 既往病史 */
    @Excel(name = "既往病史")
    private String oldIllness;

    /** 最近治疗 */
    @Excel(name = "最近治疗")
    private String latelyHeal;

    /** 治疗开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "治疗开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startHeal;

    /** 治疗结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "治疗结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endHeal;

    /** 治疗过程 */
    @Excel(name = "治疗过程")
    private String healCourse;

    /** 相关图片 */
    @Excel(name = "相关图片")
    @TableField(exist = false)
    private List<String> prices;

    /**
     * 用户ID
     */
    @Excel(name = "用户ID")
    private Long userId;


}
